home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _DCBC6C68625B4B39B91ED838E536E8F3 < prev    next >
Encoding:
Text File  |  2004-01-06  |  2.3 KB  |  84 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_mud"] = {
  3.     type="mud",
  4. -------------------------------------    
  5.     PhysicsSounds=PhysicsSoundsTable.Soft,
  6. -------------------------------------    
  7.     bullet_hit = {
  8.         sounds = {
  9.             {"Sounds/bullethits/pbullet1.wav",SOUND_UNSCALABLE,200,5,60},
  10.             {"Sounds/bullethits/pbullet2.wav",SOUND_UNSCALABLE,200,5,60},
  11.             {"Sounds/bullethits/pbullet3.wav",SOUND_UNSCALABLE,200,5,60},
  12.             {"Sounds/bullethits/pbullet4.wav",SOUND_UNSCALABLE,200,5,60},
  13.             {"Sounds/bullethits/pbullet5.wav",SOUND_UNSCALABLE,200,5,60},
  14.         },
  15.         
  16.         decal = { 
  17.             texture = System:LoadTexture("Textures/Decal/Default.tga"),
  18.             scale = 0.1,
  19.         },
  20.         particles = {
  21.             { --HitSmoke 
  22.                 focus = 1.5,
  23.                 color = {0.29,0.19,0.0},
  24.                 speed = 0.75,
  25.                 count = 4, --default 2
  26.                 size = 0.05, 
  27.                 size_speed=0.15,
  28.                 gravity=-1,
  29.                 lifetime=0.5,
  30.                 tid = System:LoadTexture("textures\\cloud.jpg"),
  31.                 frames=0,
  32.                 color_based_blending = 3
  33.             },
  34.         },
  35.     },
  36.  
  37.     projectile_hit = CommonEffects.common_projectile_hit,
  38.     mortar_hit = CommonEffects.common_mortar_hit,
  39.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  40.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  41.     grenade_hit = CommonEffects.common_grenade_hit,
  42.     melee_slash = {
  43.         sounds = {
  44.             {"sounds/weapons/machete/machetesand4.wav",SOUND_UNSCALABLE,185,5,30},
  45.             
  46.         },
  47.     },
  48. -------------------------------------
  49.     player_walk = CommonEffects.player_pebble_walk,
  50.     player_run = CommonEffects.player_pebble_run,
  51.     player_crouch = CommonEffects.player_pebble_crouch,
  52.     player_prone = CommonEffects.player_pebble_prone,
  53.     player_walk_inwater = CommonEffects.player_walk_inwater,
  54.     
  55.     player_drop = {
  56.         sounds = {
  57.             {"sounds/player/bodyfalls/bodyfallmud1.wav",SOUND_UNSCALABLE,210,10,150},
  58.         },
  59. --        decal = { 
  60. --            texture = System:LoadTexture("Textures/Decal/Default.tga"),
  61. --            scale = 0.1,
  62. --        },
  63.     },
  64. -------------------------------------
  65.     player_land = {
  66.         sounds = {
  67.             --sound , volume , {min, max}
  68.             --NOTE volume and min max are optional
  69.              {"sounds/doors/dooropen.wav",SOUND_UNSCALABLE,200,1,20},
  70.              {"sounds/doors/dooropen.wav",SOUND_UNSCALABLE,200,1,20},
  71.             
  72.         },
  73.     },
  74.     gameplay_physic = {
  75.         piercing_resistence = 15,
  76.         friction = 1.2,
  77.         bouncyness= -2, -- default 0
  78.     },
  79.  
  80.     AI = {
  81.         fImpactRadius = 5,
  82.     },
  83.             
  84. }